Skip to content

ops: use SHAs in actions & native GH docs actions#607

Merged
ryanSoley merged 6 commits into
capitalone:mainfrom
capitalone-contributions:ops-action-shas
Jun 30, 2026
Merged

ops: use SHAs in actions & native GH docs actions#607
ryanSoley merged 6 commits into
capitalone:mainfrom
capitalone-contributions:ops-action-shas

Conversation

@ryanSoley

@ryanSoley ryanSoley commented Jun 25, 2026

Copy link
Copy Markdown
Member

closes: #554


Changes

  • updates actions to comply with enterprise security standards
    • uses SHAs instead of version tags
    • uses native GitHub actions for docs
      • uses deployments natively instead of gh-pages branch

How to Test

Post-Merge

  • delete gh-pages branch
  • validate publish-docs from main
  • validate publish-package

@ryanSoley ryanSoley requested review from a team as code owners June 25, 2026 20:53
jobs:
build-and-deploy:
build:
if: (github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/')) || github.event_name == 'workflow_dispatch'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

publishes on PRs merged to main from a release/* branch and manual triggers regardless of branch name

@john-davies-alt john-davies-alt left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@armaan-dhillon armaan-dhillon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@ryanSoley ryanSoley merged commit ad78260 into capitalone:main Jun 30, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

release workflow doesn't trigger docs workflow

3 participants